<template>
    <div style="width: 100%;height: 100%;">
        this is M1.vue{{ nowDate }}
    </div>
</template>
<script>
    import {getNowDate} from "@/util/util";

    export default {
        computed: {
            nowDate() {
                return getNowDate(); // 只在依赖变化时重新计算
            }
        }
    }
</script>